home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 2756 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.1 KB  |  42 lines

  1. Path: oreig.uji.es!ii202
  2. From: ii202@rossegat.uji.es (Jorge Acereda Macia)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: TMapping again!
  5. Date: 5 Feb 1996 11:22:13 GMT
  6. Organization: Universitat Jaume I. Castell≤ de la Plana. Spain
  7. Distribution: world
  8. Message-ID: <4f4p95$hj6@oreig.uji.es>
  9. References: <4d0ou6$835@astfgl.idb.hist.no> <Z31Wx*zA0@mkmk.in-chemnitz.de> <4d42di$9e9@maureen.teleport.com> <4d5lvi$emc@brachio.zrz.TU-Berlin.DE> <4d6v0t$3dt@maureen.teleport.com> <4djj0t$4ni@sunsystem5.informatik.tu-muenchen.de> <4dlo7d$h39@news.cs.tu- <4e040q$cif@news.cs.tu-berlin.de> <4e38rv$9ic@sunsystem5.informatik.tu-muenchen.de>
  10. NNTP-Posting-Host: @rossegat.uji.es
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Juergen "Rally" Fischer (fischerj@informatik.tu-muenchen.de) wrote:
  14.  
  15. > |> There are two reasons why the engine is faster:
  16. > |> We have 15 registers during the mapping while PC has
  17.  
  18. > I'm really not a PCer but interested in truth. a chunky
  19. > polygone engine needs less registers anyway. on fast architectures
  20. > outerloops care little, raw mem speed is the question.
  21.  
  22. > so as long as you won't loose time on other parts (z sort etc etc)
  23. > I don't get it...
  24.  
  25. Many people keep a table of left and right edges for phong, t-mapping
  26. and all that stuff. This is really necessary on the PC due to the
  27. lack of registers, but on a 68k system you can easily calculate
  28. left and right edges keeping LeftX, RightX, LeftDelta and RightDelta
  29. in registers avoiding some memory accesses. Ok, this is part of the first
  30. outer loop, but might help. Also, some effects (bumpmapping+ phong + X)
  31. might need lots of registers in inner loops, beeing a headache in x86
  32. architectures.
  33.  
  34. Greets,
  35. --
  36.  ---------------------------- --------------------------------------------
  37. |       Jorge Acereda        |      Dream the same thing everynight       |
  38. |   ii202@rossegat.uji.es    |       I see our freedom in my sight        |
  39. |       Intel Outside        |     No locked doors, no windows barred     |
  40. |        Amiga Rules         |   No things to make my brain seem scarred  |
  41.  ---------------------------- --------------------------------------------
  42.